const MyKoa = require('./koa.cjs');
const {Web2} = require('./web.cjs')

class Server extends Web2 {
    constructor() {
        super();

        new MyKoa(__dirname, __dirname, 'ejs')
            .route([
                ['/bg-color', this.bg_color],
                ['/bg-image', this.bg_image]
            ])
            .start(3080)
    }
}

new Server()
